import 'package:flutter_douban/model/store_category_model.dart';
import 'package:flutter_douban/model/store_commit_mode.dart';
import 'package:json_annotation/json_annotation.dart';
part 'store_product_detail_model.g.dart';


@JsonSerializable()
class StoreProductDetailModel {
  /// 图片
  String? ti;
  /// 商品id
  String? id;
  /// 商品描述
  String? t;
  /// 商品最低价
  String? p;
  /// 商品最低价
  String? op;
  /// 已售数量
  String? si;
  /// 单位
  String? u;
  /// 包邮
  String? nsp;
  /// 满多少包邮
  List<dynamic>? atl;
  /// 商店model
  StoreCategoryModel? store;
  /// 售卖数量
  String? fi;
  /// 地址
  String? add;
  /// 商品描述
  String? des;
  /// 评论数据
  List<StoreCommitModel>? sos;

  StoreProductDetailModel(this.si,this.add,this.des,this.p,this.ti,this.fi,this.t,this.op,this.id,this.atl,this.nsp,
      this.sos,this.store,this.u);

  factory StoreProductDetailModel.fromJson(Map<String, dynamic> json) => _$StoreProductDetailModelFromJson(json);
  Map<String, dynamic> toJson() => _$StoreProductDetailModelToJson(this);
}



